<!-- Gitalk 评论 start  -->
<section class="comment-area">
<div class="comment-wrapper">
{% if site.gitalk.enable %}
<!-- Link Gitalk 的支持文件  -->
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
<script src="https://unpkg.com/gitalk@latest/dist/gitalk.min.js"></script>

<div id="gitalk-container"></div>
    <script type="text/javascript">
    var gitalk = new Gitalk({
            clientID:  '{{site.gitalk.clientID}}', 
            clientSecret: '{{site.gitalk.clientSecret}}',
            id: window.location.pathname,
            repo: '{{site.gitalk.repo}}', 
            owner: '{{site.gitalk.owner}}', 
            admin: '{{site.gitalk.admin}}', 
            distractionFreeMode: '{{site.gitalk.distractionFreeMode}}',
    
    });
    gitalk.render('gitalk-container');
</script>
{% endif %}
</div>
</section>
<!-- Gitalk end -->
